* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #e1e2e4;
}
.w {
    width: 1200px;
    margin: auto;
}
/* header区域 */
.header {
    height: 42px;
    /* background-color: pink; */
    margin: 30px auto;
}
.logo {
    float: left;
    width: 198px;
    height: 42px;
}


li {
    list-style: none;
    float: left;
    margin: 0 15px;
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
    text-decoration: none;
}
.nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
.search {
    float: left;
    width: 412px;
    height: 42px;
    background-color: skyblue;
    margin-left: 70px;
}
.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid skyblue;
    border-right: 0;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 15px;
} 
.search button {
    float: left;
    width: 51px;
    height: 42px;
    background-color: skyblue;
    /* 按钮默认有边框，手动去掉*/
    border: 0;
} 
.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}
.user span,
.user img {
    float:left;
} 

/* banner区域 */
.banner {
    height: 421px;
    background-color: rgb(204, 223, 247);
}
 .banner .w {
    height: 421px;
    background: url(img/5.jpg) no-repeat top center;
}
.banner .w .subnav {
    float: left;
    width: 190px;
    height: 421px;
    background: rgba(0, 0,0, 0.3);
}
.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 2px;
}
.subnav ul li a {
    float: left;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}
.subnav ul li a span {
    float: right;
}
.subnav ul li a:hover {
    color: #00a4ff;
}
.course {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #f3f5f7;
    /* 浮动的盒子不会有外边距问题 */ 
    margin-top: 50px;
}
.course h2 {
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}
.bd {
    padding: 0 20px;
}
.bd ul li h4{
    font-size: 16px;
    color: #4e4e4e;
}
.bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
    
}
.bd ul li {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}
.course .bd a {
    text-decoration: none;
}
.course .bd .more {
    display: inline-block;
    width: 180px;
    height: 38px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 38px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
}
/* recommer模块  */
.recommer  {
    height: 60px;
    background-color: #fff;
    box-shadow: 0 4px 3px 3px rgba(0, 0,0, 0.3);
    margin-top: 10px;
    line-height: 60px;
} 
.recommer h3 {
    float: left;
    margin:0 30px;
    font-size: 16px;
    color: #00a4ff;
}
.recommer ul {
    float: left;
    margin-left: 30px;
}
.recommer ul li a {
    text-decoration: none;
    padding-left:  30px;
    font-size: 14px;
    border-left: 1px solid #ccc;
    color: #050505
}
.recommer ul li a:hover {
   color: #00a4ff;
}
.mod {
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #00a4ff;
    text-decoration: none;
}
/* 精品推荐模块 */
.box .w {
    height: 575px;
    background-color: green;
    margin-top: 10px;
}
.box .w .top{
    height: 50px;
    background-color:#e1e2e4;
    line-height: 50px;
}
.box .w .top h4 {
    float: left;
    color: grey;
}
.box .w .top a {
    float: right;
    font-size: 12px;
    color: grey;
    text-decoration: none;
    margin-right: 30px;
}
.box .w .ban {
    height: 525px;
    background-color: #e1e2e6;
}
.box .w .ban .kc {
    float:left;
    width: 236px;
    height: 260px;
    background-color: white;
    margin-bottom: 5px;
    margin-right: 5px;
}
.box .w .ban .kc5,
.box .w .ban .kc10 {
    margin-right: 0;
}
.box .w .ban .k {
    margin-bottom: 0;
}
.ban .kc img {
    height: 140px;
    display: inline-block;
}
.ban .kc .detail {
    margin: 16px auto;
    width: 200px;
    height: 80px;
}
.ban .kc .detail h4 {
    font-size: 14px;
    color: rgb(92, 90, 90);
}
.ban .kc .detail .senior{
    margin-top: 18px;
    font-size: 14px;
    color: rgb(167, 161, 161);
}
em {
    padding: 0 15px;
}
.senior .one{
    color:orange;
} 

/* 尾部footer模块 */
.footer {
    height: 230px;
    margin-top: 20px;
    background-color: #fff;
}
.footer .w {
    height: 230px;
}
.person {
    float: left;
    width: 500px;
    height: 230px;
    margin-top: 10px;
}
.person p {
    display: block;
    margin-top: 10px;
}
.person .upset {
   display:block;
   margin: 10px ;
   width: 80px;
   height: 40px;
   background-color: rgb(228, 247, 255);
   border: 0;
}
.person .upset:hover{
    background-color:  rgb(171, 213, 230);
}
.message {
    width: 630px;
    height: 220px;
    float: right;
    margin-top: 10px;
}
.message .about {
    float: left;
    width: 77px;
    margin-left: 30px;
}
.message .new {
    float: left;
    width: 159px;
    margin-left: 150px;
    margin-right: 20px;
}
.message .parent {
    float: right;
    width: 116px;
    margin-left: 10px;
}

.message .title h4 {
    color: rgb(192, 187, 187);
    font-weight: 400;
}
.message .title ul li {
    height: 30px;
    line-height: 30px;
    margin: 2px;
    font-size: 14px;
    color: rgba(85, 78, 78, 0.842);
}